#ifndef MYQQ_H
#define MYQQ_H

#include <QWidget>
#include "registerbox.h"
#include <QTcpSocket>

namespace Ui {
class Myqq;
}

class Myqq : public QWidget
{
    Q_OBJECT

public:
    explicit Myqq(QWidget *parent = 0);
    ~Myqq();

private slots:
    void on_pushButtonLogin_clicked();

    //void on_pushButton_clicked();

    void on_pushButtonRegister_clicked();

private:
    Ui::Myqq *ui;

    QTcpSocket *socket;

    void sendData(QString name, QString password);
};

#endif // MYQQ_H
